package com.generator.mode;

import lombok.Data;

import java.io.Serializable;

/**
 * 节点信息
 * path: /butterfly/cluster/{ip}
 */
@Data
public class NodeInfo implements Serializable {

    /**
     * 节点host
     */
    private HostAndPort hostAndPort;

    /**
     * 节点周期值
     */
    private int epoch;

    /**
     * 节点序列号最大偏移量(包含)
     */
    private long endOffset;
}
